package com.huatai.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.manage.entity.TbCodeManageEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huatai.manage.query.PageQuery;
import com.huatai.manage.vo.PageVo;
import com.huatai.manage.vo.TbCodeManageVo;

import java.util.List;

/**
 * <p>
 * 编码管理（字典）; 服务类
 * </p>
 *
 * @author luoxc
 * @since 2023-07-05
 */
public interface TbCodeManageService extends IService<TbCodeManageEntity> {

	PageVo pageList(PageQuery<TbCodeManageEntity> pageQuery);

	TbCodeManageVo getByCodeId(String codeId);

	boolean update(TbCodeManageEntity tbCodeManageEntity);

	boolean removes(List<String> ids);

	List<TbCodeManageVo> selectAll();

	List<TbCodeManageVo> listByCodeMain(String codeMain);

	List<TbCodeManageEntity> listByCodeMains(List<String> codeMains);

}
